﻿using System;
using System.Collections.Generic;

namespace Rj.PersonnelVerification.Server.DataBaseContext.Entities
{
    /// <summary>
    /// 住院费用统计表
    /// </summary>
    public partial class StatIoPatientFee
    {
        /// <summary>
        /// 对应 IO_PatientFee.Id
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 对应 IO_PatientFee.RegNo
        /// </summary>
        public long? RegNo { get; set; }
        /// <summary>
        /// 对应 IO_PatientFee.ItemId
        /// </summary>
        public int? ItemId { get; set; }
        /// <summary>
        /// 项目名称
        /// </summary>
        public string? ItemName { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string? Standard { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public decimal? Quantity { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string? Unit { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public decimal? Price { get; set; }
        /// <summary>
        /// 金额
        /// </summary>
        public decimal? Amount { get; set; }
        /// <summary>
        /// 对应 IO_PatientFee.FeeTime
        /// </summary>
        public DateTime? FeeTime { get; set; }
        /// <summary>
        /// 项目大类
        /// </summary>
        public int? ItemCategory { get; set; }
        /// <summary>
        /// 项目大类名称
        /// </summary>
        public string? ItemCategoryName { get; set; }
        /// <summary>
        /// 项目二级分类
        /// </summary>
        public string? ItemChildCategory { get; set; }
        /// <summary>
        /// 项目二级分类名称
        /// </summary>
        public string? ItemChildCategoryName { get; set; }
        /// <summary>
        /// 开单科室
        /// </summary>
        public int? OrderDeptId { get; set; }
        /// <summary>
        /// 开单病房
        /// </summary>
        public int? OrderWardId { get; set; }
        /// <summary>
        /// 开单医生
        /// </summary>
        public int? OrderDoctorId { get; set; }
        /// <summary>
        /// 执行科室
        /// </summary>
        public int? ExecDeptId { get; set; }
        /// <summary>
        /// 执行病房
        /// </summary>
        public int? ExecWardId { get; set; }
        /// <summary>
        /// 执行医生
        /// </summary>
        public int? ExecDoctorId { get; set; }
        /// <summary>
        /// 住院科室
        /// </summary>
        public int? PatDeptId { get; set; }
        /// <summary>
        /// 住院病房
        /// </summary>
        public int? PatWardId { get; set; }
        /// <summary>
        /// 住院医生
        /// </summary>
        public int? PatDoctorId { get; set; }
        /// <summary>
        /// 医院编码
        /// </summary>
        public int HospitalId { get; set; }
        /// <summary>
        /// 进货价
        /// </summary>
        public decimal? TradePrice { get; set; }
        /// <summary>
        /// 零售价
        /// </summary>
        public decimal? RetailPrice { get; set; }
        /// <summary>
        /// 数据创建时间
        /// </summary>
        public DateTime? CreateDate { get; set; }
        /// <summary>
        /// 数据修改时间
        /// </summary>
        public DateTime? UpdateDate { get; set; }
        /// <summary>
        /// 备注信息
        /// </summary>
        public string? Memo { get; set; }
    }
}
